|
This is a built-in template used for filling the body of an overridden getter method for property each time it is generated by the program,
e.g. when calling the Code | Override Method... function. The template is editable. Along with Objective-C expressions and comments, you can also use predefined variables that will be then expanded into the corresponding values. |
| Predefined variables will take the following values: | ||
a super method call, for void methods - [super methodName] with or without parameters;
for other methods - return [super methodName] with or without parameters
|
||
| return type of a created method | ||
| value returned by the method by default | ||
| name of the class where the method is overridden | ||
| "true" when the property has an instance variable | ||
| name of the instance variable | ||
| in ARC-mode: "copyArc" when copy attribute is set, "assign" otherwise in non-ARC mode: "copy" when copy attribute is set, "retain" when retain attribute is set, "assign" otherwise |
||
| All the predefined variables from the C File Header template (Includes tab) are also available (e.g. ${USER}, ${DATE}, etc.) | ||